import Vue from 'vue'
import App from './App.vue'
import { router } from './router'
import store from './store'
import './core/styles/index.less'
import 'famfamfam-flags/dist/sprite/famfamfam-flags.css';
import { AxiosPlugin } from './core/components'
import Ajax from './core/utils/ajax'
import Utils from "./core/utils/Utils" 

Vue.use(AxiosPlugin);

Vue.config.productionTip = false

//初始化配置数据
Ajax.get('/AbpUserConfiguration/GetAll').then(data => {
  window.abp = data.data.result;
  window.abp.appPath = "/";
  Utils.abp = window.abp;

  new Vue({
    router,
    store,
   
    render: h => h(App)
  }).$mount('#app')
})

